//
//  YZYRoleInfo.m
//  QPJHLightChannel
//
//  Created by qply on 2020/9/9.
//  Copyright © 2020 qipa. All rights reserved.
//

#import "YZYRoleInfo.h"

@implementation YZYRoleInfo

+ (YZYRoleInfo *)copyWithRoleInfo:(YZYRoleInfo *)roleInfo {
    YZYRoleInfo *new_roleInfo = [[YZYRoleInfo alloc] init];
    new_roleInfo.role_type = roleInfo.role_type;
    new_roleInfo.login_time = roleInfo.login_time;
    new_roleInfo.loginout_time = roleInfo.loginout_time;
    new_roleInfo.reg_time = roleInfo.reg_time;
    new_roleInfo.update_time = roleInfo.update_time;
    new_roleInfo.role_id = roleInfo.role_id;
    new_roleInfo.role_level = roleInfo.role_level;
    new_roleInfo.role_name = roleInfo.role_name;
    new_roleInfo.service_id = roleInfo.service_id;
    new_roleInfo.service_name = roleInfo.service_name;
    new_roleInfo.role_label_code = roleInfo.role_label_code;
    new_roleInfo.describe = roleInfo.describe;
    new_roleInfo.experience = roleInfo.experience;
    new_roleInfo.money = roleInfo.money;
    new_roleInfo.user_id = roleInfo.user_id;
    new_roleInfo.son_user_id = roleInfo.son_user_id;
    new_roleInfo.super_user_id = roleInfo.super_user_id;
    new_roleInfo.login_ip = roleInfo.login_ip;
    new_roleInfo.os_type = roleInfo.os_type;
    new_roleInfo.reg_ip = roleInfo.reg_ip;
    new_roleInfo.power_value = roleInfo.power_value;
    new_roleInfo.super_role_id = roleInfo.super_role_id;
    new_roleInfo.super_token = roleInfo.super_token;
    return new_roleInfo;
}

@end
